﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity.ModelConfiguration;

namespace EF_CodeFirstForSqlite.Models.Mapping
{
    public class StudentMap:EntityTypeConfiguration<Student>
    {
        public StudentMap()
        {
            this.ToTable("STUDENT");
            this.Property(t => t.Name).HasColumnName("NAME");
            this.Property(t => t.Gender).HasColumnName("GENDER");
        }
    }
}